﻿using System.Xml.Serialization;


namespace Microsoft.Services.TfsAlert.AppCode.NotificationEvents
{
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50726.0")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class CheckinEvent
    {

        private string titleField;

        private string contentTitleField;

        private string ownerField;

        private string committerField;

        private int numberField;

        private string creationDateField;

        private string commentField;

        private string timeZoneField;

        private string timeZoneOffsetField;

        private string teamProjectField;

        private string policyOverrideCommentField;

        private string noticeField;

        private string subscriberField;

        private object[] checkinNotesField;

        private object[] policyFailuresField;

        private object[] checkinInformationField;

        private object[] artifactsField;

        /// <remarks/>
        public string Title
        {
            get
            {
                return this.titleField;
            }
            set
            {
                this.titleField = value;
            }
        }

        /// <remarks/>
        public string ContentTitle
        {
            get
            {
                return this.contentTitleField;
            }
            set
            {
                this.contentTitleField = value;
            }
        }

        /// <remarks/>
        public string Owner
        {
            get
            {
                return this.ownerField;
            }
            set
            {
                this.ownerField = value;
            }
        }

        /// <remarks/>
        public string Committer
        {
            get
            {
                return this.committerField;
            }
            set
            {
                this.committerField = value;
            }
        }

        /// <remarks/>
        public int Number
        {
            get
            {
                return this.numberField;
            }
            set
            {
                this.numberField = value;
            }
        }

        /// <remarks/>
        public string CreationDate
        {
            get
            {
                return this.creationDateField;
            }
            set
            {
                this.creationDateField = value;
            }
        }

        /// <remarks/>
        public string Comment
        {
            get
            {
                return this.commentField;
            }
            set
            {
                this.commentField = value;
            }
        }

        /// <remarks/>
        public string TimeZone
        {
            get
            {
                return this.timeZoneField;
            }
            set
            {
                this.timeZoneField = value;
            }
        }

        /// <remarks/>
        public string TimeZoneOffset
        {
            get
            {
                return this.timeZoneOffsetField;
            }
            set
            {
                this.timeZoneOffsetField = value;
            }
        }

        /// <remarks/>
        public string TeamProject
        {
            get
            {
                return this.teamProjectField;
            }
            set
            {
                this.teamProjectField = value;
            }
        }

        /// <remarks/>
        public string PolicyOverrideComment
        {
            get
            {
                return this.policyOverrideCommentField;
            }
            set
            {
                this.policyOverrideCommentField = value;
            }
        }

        /// <remarks/>
        public string Notice
        {
            get
            {
                return this.noticeField;
            }
            set
            {
                this.noticeField = value;
            }
        }

        /// <remarks/>
        public string Subscriber
        {
            get
            {
                return this.subscriberField;
            }
            set
            {
                this.subscriberField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlArrayItemAttribute("CheckinNote")]
        public object[] CheckinNotes
        {
            get
            {
                return this.checkinNotesField;
            }
            set
            {
                this.checkinNotesField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlArrayItemAttribute("PolicyFailure")]
        public object[] PolicyFailures
        {
            get
            {
                return this.policyFailuresField;
            }
            set
            {
                this.policyFailuresField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlArrayItemAttribute("CheckinInformation")]
        public object[] CheckinInformation
        {
            get
            {
                return this.checkinInformationField;
            }
            set
            {
                this.checkinInformationField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlArrayItemAttribute("Artifact")]
        public object[] Artifacts
        {
            get
            {
                return this.artifactsField;
            }
            set
            {
                this.artifactsField = value;
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50726.0")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class NameValuePair
    {

        private string nameField;

        private string valField;

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string name
        {
            get
            {
                return this.nameField;
            }
            set
            {
                this.nameField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string val
        {
            get
            {
                return this.valField;
            }
            set
            {
                this.valField = value;
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50726.0")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class CheckinWorkItemInfo
    {

        private string urlField;

        private int idField;

        private CheckinWorkItemCheckinAction checkinActionField;

        private string titleField;

        private string typeField;

        private string stateField;

        private string assignedToField;

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string Url
        {
            get
            {
                return this.urlField;
            }
            set
            {
                this.urlField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public int Id
        {
            get
            {
                return this.idField;
            }
            set
            {
                this.idField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public CheckinWorkItemCheckinAction CheckinAction
        {
            get
            {
                return this.checkinActionField;
            }
            set
            {
                this.checkinActionField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string Title
        {
            get
            {
                return this.titleField;
            }
            set
            {
                this.titleField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string Type
        {
            get
            {
                return this.typeField;
            }
            set
            {
                this.typeField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string State
        {
            get
            {
                return this.stateField;
            }
            set
            {
                this.stateField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string AssignedTo
        {
            get
            {
                return this.assignedToField;
            }
            set
            {
                this.assignedToField = value;
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50726.0")]
    [System.SerializableAttribute()]
    public enum CheckinWorkItemCheckinAction
    {

        /// <remarks/>
        None,

        /// <remarks/>
        Resolve,

        /// <remarks/>
        Associate,
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50726.0")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class ClientArtifact
    {

        private string urlField;

        private string serverItemField;

        private string artifactTypeField;

        private string itemField;

        private string folderField;

        private string teamProjectField;

        private string itemRevisionField;

        private string changeTypeField;

        /// <remarks/>
        public string Url
        {
            get
            {
                return this.urlField;
            }
            set
            {
                this.urlField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string ServerItem
        {
            get
            {
                return this.serverItemField;
            }
            set
            {
                this.serverItemField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string ArtifactType
        {
            get
            {
                return this.artifactTypeField;
            }
            set
            {
                this.artifactTypeField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string Item
        {
            get
            {
                return this.itemField;
            }
            set
            {
                this.itemField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string Folder
        {
            get
            {
                return this.folderField;
            }
            set
            {
                this.folderField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string TeamProject
        {
            get
            {
                return this.teamProjectField;
            }
            set
            {
                this.teamProjectField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string ItemRevision
        {
            get
            {
                return this.itemRevisionField;
            }
            set
            {
                this.itemRevisionField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string ChangeType
        {
            get
            {
                return this.changeTypeField;
            }
            set
            {
                this.changeTypeField = value;
            }
        }
    }
}
